package Ubi.UI;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;


public class MainMenu extends Activity 
{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_view);
        
        Button btnCreate = (Button)findViewById(R.id.btn_NewEvent);
        Button btnCancel = (Button)findViewById(R.id.btn_DeletEvent);
        Button btnUpdate = (Button)findViewById(R.id.btn_UpdateEvent);
        
        btnCreate.setOnClickListener(CreateEvent);
        btnCancel.setOnClickListener(UpdateEvent);
        btnUpdate.setOnClickListener(CancelEvent);
        
        //TODO:: Register?
    }
    
    private OnClickListener CreateEvent = new OnClickListener() 
    {
		public void onClick(View v) 
		{
			
		}
    };
    
    private OnClickListener UpdateEvent = new OnClickListener() 
    {
		public void onClick(View v) 
		{
			
		}
    };
    
    private OnClickListener CancelEvent = new OnClickListener() 
    {
		public void onClick(View v) 
		{
			
		}
    };
}